package it.polimi.politics.managers;

import java.util.List;

import it.polimi.politics.dto.ReferendumDTO;
import it.polimi.politics.dto.UtentiDTO;
import it.polimi.politics.dto.VotoreferendumDTO;


public interface ReferendumManager {
	
	public ReferendumDTO trovaReferendum(int idReferendum);
	
	public List<ReferendumDTO> visualizzaProposte(UtentiDTO user);
	
	public List<ReferendumDTO> visualizzaApprovati(UtentiDTO user);

	public List<ReferendumDTO> visualizzaApprovati();
	
	public void creaProposta(ReferendumDTO referendum);
	
	public void likeRef(ReferendumDTO referendum, UtentiDTO user);
	
	public void vota(ReferendumDTO referendum, VotoreferendumDTO voto, UtentiDTO user );
	
}
